package com.flashcash.solu.common;

import com.flashcash.solu.bean.TotalAmount;
import com.flashcash.kotlin.data.ProductBean;

import java.util.ArrayList;

/**
 * @作者:My
 * @创建日期: 2017/6/21 18:13
 * @描述:${TODO}
 * @更新者:${Author}$
 * @更新时间:${Date}$
 * @更新描述:${TODO}
 */

public interface EventCollection {

    class LoanSuccess {
    }

    class LogoutEvent {
    }

    class CancelLoan {
    }

    class VideoGiveUp {
    }

    class GiveUpLogin {
    }

    class AccoutUpdateEvent {
    }

    class DisableProductClickEnent {

    }

    class FirstFinishCertifyEvent {

    }

    class LoginSuccess {
    }

    class GotoLoaning {

        private TotalAmount totalAmount;

        public GotoLoaning(TotalAmount totalAmount) {
            this.totalAmount = totalAmount;
        }

        public TotalAmount getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(TotalAmount totalAmount) {
            this.totalAmount = totalAmount;
        }

    }

    class SubmitLoan {

    }

    class GotoMyLoan {

    }

    class FinishLoanNormalFragment1Activity {
    }

    class ErrorSMSCodeEvent {
    }

    class GotoLoanApplicationTabEvent {
        private TotalAmount totalAmount;

        public GotoLoanApplicationTabEvent(TotalAmount totalAmount) {
            this.totalAmount = totalAmount;
        }

        public TotalAmount getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(TotalAmount totalAmount) {
            this.totalAmount = totalAmount;
        }
    }

    class NeedUpdateEvent {
        //{\"latestVersionCode\":29,\"latestVersion\":\"V2.1.1\",\"releaseNotes\":[\"1. ui\",\"2. logic\",\"3. performance\"]}
        private int latestVersionCode;
        private String latestVersion;
        private ArrayList<String> releaseNotes;

        public int getLatestVersionCode() {
            return latestVersionCode;
        }

        public void setLatestVersionCode(int latestVersionCode) {
            this.latestVersionCode = latestVersionCode;
        }

        public String getLatestVersion() {
            return latestVersion;
        }

        public void setLatestVersion(String latestVersion) {
            this.latestVersion = latestVersion;
        }

        public ArrayList<String> getReleaseNotes() {
            return releaseNotes;
        }

        public void setReleaseNotes(ArrayList<String> releaseNotes) {
            this.releaseNotes = releaseNotes;
        }
    }

    class ParamsMissingEvent {
    }

    class ProductChoseEvent {
        private ProductBean productBean;

        public ProductChoseEvent(ProductBean productBean) {
            this.productBean = productBean;
        }

        public ProductBean getProductBean() {
            return productBean;
        }

        public void setProductBean(ProductBean productBean) {
            this.productBean = productBean;
        }
    }

    class LoanEvent {
    }

}
